package com.example.aopdemo.controller;

import com.example.aopdemo.aspact.annotation.DemoLog;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
public class UserController {

    @GetMapping(path = "/getList")
    @DemoLog(value = "用户列表")
    public void getUserList(){
        System.out.println("111");
    }
}
